/**
 * FileName: CareService
 * Author:   P
 * Date:     2021/3/1 13:57
 * Description:
 */
package com.hospital.nurse.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.hospital.nurse.pojo.Care;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CareService extends IService<Care> {

    PageInfo<Care> findAllCareAndPatient(int page,int size);

    //查看更多护理信息
    Care findMoreCare(int cid);

    //删除
    boolean deleteCare(int cid);

    //模糊查询护理记录
    PageInfo<Care> getCareByName(String name);

    //添加
    boolean addCare(Care care);

}
